package com.hina.rec.endpoint.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 工作流响应对象
 *
 * @author dequal
 * @since 2025-05-23
 */
@Data
@Schema(description = "工作流响应对象")
public class WorkflowRes {
    
    @Schema(description = "主键ID")
    private Integer id;
    
    @Schema(description = "类型")
    private String type;
    
    @Schema(description = "标题")
    private String title;
    
    @Schema(description = "描述")
    private String desc;
    
    @Schema(description = "状态")
    private String status;
    
    @Schema(description = "创建人")
    private String createdBy;
    
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdAt;
    
    @Schema(description = "更新人")
    private String updatedBy;
    
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updatedAt;
} 